import 'package:flutter/material.dart';

class WaitWidget extends StatelessWidget {
  final double width;
  final double height;

  const WaitWidget({Key key, this.width, this.height}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      width: this.width,
      height: this.height,
      child: Center(
          child: Column(
        children: <Widget>[
          CircularProgressIndicator(),
          Text(
            "等待中...",
            style: TextStyle(fontSize: 20, color: Colors.black54),
          )
        ],
      )),
    );
  }
}
